<template>
	<view class="main">
		<view class="bg"><image src='../../static/user/zs_bg.png' mode="widthFix"></image></view>
		<view class="h2">学时证明</view>
		<view class="form">
			<view class="li">
				<view class="p p1">头像：</view>
				<view class="p p2"><image src=""></image></view>
			</view>
			<view class="li">
				<view class="p p1">姓名：</view>
				<view class="p">xxx</view>
			</view>
			<view class="li">
				<view class="p p1">班级：</view>
				<view class="p">初86班</view>
			</view>
			<view class="li">
				<view class="p p1">手机号：</view>
				<view class="p">18036453728</view>
			</view>
			<view class="li flex1">
				<view class="p p1">证件号：</view>
				<view class="p">472839832837498239</view>
			</view>
			<view class="li">
				<view class="p p1">学时：</view>
				<view class="p">10小时</view>
			</view>
		</view>
	</view>
</template>

<script>
	import userApi from "@/common/api/user.js"
	export default {
		data() {
			return {
				
			}
		},
		onShow() {}
	}
</script>

<style>
	.main{
		margin: 40rpx 30rpx;
		z-index: 1;
		position: relative;
		padding: 90rpx 40rpx;
	}
	.bg{
		position: absolute;
		width: 98%;
		height: 100%;
		left: 50%;
		transform: translate(-50%,-50%);
		top: 50%;
		z-index: -1;
	}
	.bg image{
		width: 100%;
		height: 100%;
	}
	.h2{
		text-align: center;
		font-size: 30rpx;
		color: #333;
		font-weight: bold;
		margin-top: 90rpx;
	}
	.form{
		margin: 60rpx 0 40px;
		/* display: flex;
		align-items: center;
		justify-content: space-between;
		flex-flow: wrap; */
		padding-left: 80rpx;
	}
	.li{
		/* width: 50%; */
		display: flex;
		align-items: center;
		font-size: 26rpx;
		color: #333;
		margin-bottom: 35rpx;
	}
	.p1{
		width: 100rpx;
	}
	.li image{
		width: 70rpx;
		height: 70rpx;
		background-color: #ccc;
		border-radius: 50%;
	}
	.p2{
		margin-left: -10rpx;
	}
	.txt{
		margin: 30rpx 60rpx;
		font-size: 26rpx;
		color: #333;
		text-indent: 2em;
	}
	.flex1{
		flex: 1;
	}
</style>